 
	<form class="form-horizontal"  action="/index.php/message/insert_comment" method="post" >
        <fieldset>
          <legend>Advanced Search</legend>
           <div class="control-group">
      				<label class="control-label" for="lat">Latitude</label>
      			<div class="controls">
        			<input type="text" name="lat" id="lat" class="input-xlarge">
        		</div>
    	   </div>
        	<div class="control-group">
      				<label class="control-label" for="long">Longtitude</label>
      			<div class="controls">
        			<input type="text" name="long" id="long" class="input-xlarge">
        		</div>
    	   </div>
    	   <div class="control-group">
      				<label class="control-label" for="distant">With in(distance)</label>
      			<div class="controls">
        			<input type="text" name="distant" id="distant" class="input-xlarge">
        		</div>
    	   </div>
    	   <div class="control-group">
      				<label class="control-label" for="period">With in(time)</label>
      			<div class="controls">
        			<select name="period" id="period">
        				<option value="3">in 3 hours</option>
        				<option value="6">in 6 hours</option>
        				<option value="9">in 9 hours</option>
        				<option value="12">in 12 hours</option>
        				<option value="24">in 24 hours</option>
        				<option value="48">in 48 hours</option>
        				<option value="72">in 72 hours</option>
        				<option value="99999">Infinity</option>
        			</select>
        		</div>
    	   </div>	
    	   <div class="control-group">
      				<label class="control-label" for="type">Type</label>
      			<div class="controls">
        			<select name="type" id="type">
        				<option value="photo">photo</option>
        				<option value="user">user</option>
        			</select>
        		</div>
    	   </div>
    	   <div class="control-group">
           <input class="btn btn-primary" onclick="javascript:get_main('advanced_search_submit')" value="Search">
       		</div>
        </fieldset>
      </form>
 